<!DOCTYPE HTML>
<html>
<head>

    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
    <title>详情</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link href="/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="/css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="/css/animate.css" rel="stylesheet">
    <link href="/css/style.css?v=4.1.0" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="/css/uploadifive.css">
    <link type="text/css" rel="stylesheet" href="/js/plugins/layer/laydate/skins/default/laydate.css" id="LayDateSkin">


</head>
<body>
<h2>{{if .update}}更新{{else}}添加{{end}}</h2>
<!--style给定宽度可以影响编辑器的最终宽度-->

<!--style给定宽度可以影响编辑器的最终宽度-->
<form id="FORM_validate" action="/pointmodule/{{if .update}}update{{else}}add{{end}}" method="post">
    <input id="form_Id" type="hidden" value="{{if .update}}{{.PointModule.Id}}{{end}}" name="{{if .update}}Id{{end}}">
    <div class="">
        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">模板名称：</label>
            <div class="col-md-9">
                <input id="form_PointModuleName" name="PointModuleName" class="form-control" placeholder="请在此输入"
                       value="{{if .update}}{{.PointModule.PointModuleName}}{{end}}">
            </div>
        </div>
        <div class="form-group col-md-12" style="padding-top: 15px;    background: #eee;">
            <input type="hidden" value="{{if .update}}{{.PointModule.PointJson}}{{end}}" name="PointJson">
            <div class="form-group col-md-12">
                <label class="col-md-1 control-label">金额/积分1：</label>
                <div class="col-md-1">
                    <input id="form_Point1" name="Point1" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.Point1}}{{end}}">
                </div>
                <div class="col-md-1">
                    <select class="form-control m-b" name="Point1Type">
                        <option {{if .update}}{{if eq 0 .PointModule.Point1Type}}selected="selected"{{end}}{{end}}
                                value="0">积分
                        </option>
                        <option {{if .update}}{{if eq 1 .PointModule.Point1Type}}selected="selected"{{end}}{{end}}
                                value="1">现金红包
                        </option>
                    </select>
                </div>
                <label class="col-md-1 control-label">奖项1每天最少数量：</label>
                <div class="col-md-1">
                    <input id="form_MinCount1" name="MinCount1" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.MinCount1}}{{end}}">
                </div>
                <div class="col-md-1"></div>
                <label class="col-md-1 control-label">奖项1最少数量阈值：</label>
                <div class="col-md-1">
                    <input id="form_MinCount1Hold" name="MinCount1Hold" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.MinCount1Hold}}{{end}}">
                </div>
            </div>
        {{/*        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">类型：</label>
            <div class="col-md-9">
                <select class="form-control m-b" name="Point1Type">
                    <option {{if .update}}{{if eq 0 .PointModule.Point1Type}}selected="selected"{{end}}{{end}}
                            value="0">积分
                    </option>
                    <option {{if .update}}{{if eq 1 .PointModule.Point1Type}}selected="selected"{{end}}{{end}}
                            value="1">现金红包
                    </option>
                </select>
            </div>
        </div>*/}}
        {{/*        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">奖项1每天最少数量：</label>
            <div class="col-md-9">
                <input id="form_MinCount1" name="MinCount1" class="form-control" placeholder="请在此输入"
                       value="{{if .update}}{{.PointModule.MinCount1}}{{end}}">
            </div>
        </div>*/}}
            <div class="form-group col-md-12">
                <label class="col-md-1 control-label">奖项1每天最大出现次数：</label>
                <div class="col-md-1">
                    <input id="form_MaxCount1" name="MaxCount1" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.MaxCount1}}{{end}}">
                </div>
                <div class="col-md-1"></div>
                <label class="col-md-1 control-label">概率1：</label>
                <div class="col-md-1">
                    <input id="form_Probability1" name="Probability1" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.Probability1}}{{end}}">
                </div>
                <div class="col-md-1"></div>
                <label class="col-md-1 control-label">扇区颜色1：</label>
                <div class="col-md-1">
                    <input id="form_Color1" name="Color1" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.Color1}}{{end}}">
                </div>
            </div>
        {{/*        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">奖项1每天最大出现次数：</label>
            <div class="col-md-9">
                <input id="form_MaxCount1" name="MaxCount1" class="form-control" placeholder="请在此输入"
                       value="{{if .update}}{{.PointModule.MaxCount1}}{{end}}">
            </div>
        </div>
        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">概率1：</label>
            <div class="col-md-9">
                <input id="form_Probability1" name="Probability1" class="form-control" placeholder="请在此输入"
                       value="{{if .update}}{{.PointModule.Probability1}}{{end}}">
            </div>
        </div>
        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">扇区颜色1：</label>
            <div class="col-md-9">
                <input id="form_Color1" name="Color1" class="form-control" placeholder="请在此输入"
                       value="{{if .update}}{{.PointModule.Color1}}{{end}}">
            </div>
        </div>*/}}

            <div class="form-group col-md-12">
                <div class="col-md-3">
                    <label class="control-label">图片1：</label>
                    <input id="form_PointPic1" type="hidden" name="PointPic1"
                           value="{{if .update}}{{.PointModule.PointPic1}}{{end}}" required="" aria-required="true">
                    <button id="file_upload_PointPic1" name="file_upload_PointPic1" type="file"
                            multiple="true"></button>
                </div>
                <div class="col-md-9">
                    <img id="form_pic_PointPic1"
                         src="{{if .update}}{{.PointModule.PointPic1}}{{else}}/img/image.png{{end}}"
                         style="max-height: 380px;width: auto;">
                </div>
            </div>
        </div>


        <div>
            <div class="form-group col-md-12">
                <label class="col-md-1 control-label">金额/积分2：</label>
                <div class="col-md-1">
                    <input id="form_Point2" name="Point2" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.Point2}}{{end}}">
                </div>
                <div class="col-md-1">
                    <select class="form-control m-b" name="Point2Type">
                        <option {{if .update}}{{if eq 0 .PointModule.Point2Type}}selected="selected"{{end}}{{end}}
                                value="0">积分
                        </option>
                        <option {{if .update}}{{if eq 1 .PointModule.Point2Type}}selected="selected"{{end}}{{end}}
                                value="1">现金红包
                        </option>
                    </select>
                </div>
                <label class="col-md-1 control-label">奖项2每天最少数量：</label>
                <div class="col-md-1">
                    <input id="form_MinCount2" name="MinCount2" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.MinCount2}}{{end}}">
                </div>
                <div class="col-md-1"></div>
                <label class="col-md-1 control-label">奖项2最少数量阈值：</label>
                <div class="col-md-1">
                    <input id="form_MinCount2Hold" name="MinCount2Hold" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.MinCount2Hold}}{{end}}">
                </div>

            </div>
        {{/*        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">类型：</label>
            <div class="col-md-9">
                <select class="form-control m-b" name="Point2Type">
                    <option {{if .update}}{{if eq 0 .PointModule.Point2Type}}selected="selected"{{end}}{{end}}
                            value="0">积分
                    </option>
                    <option {{if .update}}{{if eq 1 .PointModule.Point2Type}}selected="selected"{{end}}{{end}}
                            value="1">现金红包
                    </option>
                </select>
            </div>
        </div>*/}}
        {{/*        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">奖项2每天最少数量：</label>
            <div class="col-md-9">
                <input id="form_MinCount2" name="MinCount2" class="form-control" placeholder="请在此输入"
                       value="{{if .update}}{{.PointModule.MinCount2}}{{end}}">
            </div>
        </div>*/}}
            <div class="form-group col-md-12">

                <label class="col-md-1 control-label">奖项2每天最大出现次数：</label>
                <div class="col-md-1">
                    <input id="form_MaxCount2" name="MaxCount2" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.MaxCount2}}{{end}}">
                </div>
                <div class="col-md-1"></div>
                <label class="col-md-1 control-label">概率2：</label>
                <div class="col-md-1">
                    <input id="form_Probability2" name="Probability2" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.Probability2}}{{end}}">
                </div>
                <div class="col-md-1"></div>
                <label class="col-md-1 control-label">扇区颜色2：</label>
                <div class="col-md-1">
                    <input id="form_Color2" name="Color2" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.Color2}}{{end}}">
                </div>
            </div>
        {{/*        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">奖项2每天最大出现次数：</label>
            <div class="col-md-9">
                <input id="form_MaxCount2" name="MaxCount2" class="form-control" placeholder="请在此输入"
                       value="{{if .update}}{{.PointModule.MaxCount2}}{{end}}">
            </div>
        </div>*/}}
            <div class="form-group col-md-12">
                <div class="col-md-3">
                    <label class="control-label">图片2：</label>
                    <input id="form_PointPic2" type="hidden" name="PointPic2"
                           value="{{if .update}}{{.PointModule.PointPic2}}{{end}}" required="" aria-required="true">
                    <button id="file_upload_PointPic2" name="file_upload_PointPic2" type="file"
                            multiple="true"></button>
                </div>
                <div class="col-md-9">
                    <img id="form_pic_PointPic2"
                         src="{{if .update}}{{.PointModule.PointPic2}}{{else}}/img/image.png{{end}}"
                         style="max-height: 380px;width: auto;">
                </div>
            </div>
        {{/*        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">概率2：</label>
            <div class="col-md-9">
                <input id="form_Probability2" name="Probability2" class="form-control" placeholder="请在此输入"
                       value="{{if .update}}{{.PointModule.Probability2}}{{end}}">
            </div>
        </div>
        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">扇区颜色2：</label>
            <div class="col-md-9">
                <input id="form_Color2" name="Color2" class="form-control" placeholder="请在此输入"
                       value="{{if .update}}{{.PointModule.Color2}}{{end}}">
            </div>
        </div>*/}}
        </div>
        <div class="form-group col-md-12" style="background: #eee;padding-top: 15px">
            <div class="form-group col-md-12">
                <label class="col-md-1 control-label">金额/积分3：</label>
                <div class="col-md-1">
                    <input id="form_Point3" name="Point3" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.Point3}}{{end}}">
                </div>
                <div class="col-md-1">
                    <select class="form-control m-b" name="Point3Type">
                        <option {{if .update}}{{if eq 0 .PointModule.Point3Type}}selected="selected"{{end}}{{end}}
                                value="0">积分
                        </option>
                        <option {{if .update}}{{if eq 1 .PointModule.Point3Type}}selected="selected"{{end}}{{end}}
                                value="1">现金红包
                        </option>
                    </select>
                </div>
                <label class="col-md-1 control-label">奖项3每天最少数量：</label>
                <div class="col-md-1">
                    <input id="form_MinCount3" name="MinCount3" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.MinCount3}}{{end}}">
                </div>
                <div class="col-md-1"></div>
                <label class="col-md-1 control-label">奖项3最少数量阈值：</label>
                <div class="col-md-1">
                    <input id="form_MinCount3Hold" name="MinCount3Hold" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.MinCount3Hold}}{{end}}">
                </div>
            </div>
        {{/*        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">类型：</label>
            <div class="col-md-9">
                <select class="form-control m-b" name="Point3Type">
                    <option {{if .update}}{{if eq 0 .PointModule.Point3Type}}selected="selected"{{end}}{{end}}
                            value="0">积分
                    </option>
                    <option {{if .update}}{{if eq 1 .PointModule.Point3Type}}selected="selected"{{end}}{{end}}
                            value="1">现金红包
                    </option>
                </select>
            </div>
        </div>
        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">奖项3每天最少数量：</label>
            <div class="col-md-9">
                <input id="form_MinCount3" name="MinCount3" class="form-control" placeholder="请在此输入"
                       value="{{if .update}}{{.PointModule.MinCount3}}{{end}}">
            </div>
        </div>
        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">奖项3最少数量阈值：</label>
            <div class="col-md-9">
                <input id="form_MinCount3Hold" name="MinCount3Hold" class="form-control" placeholder="请在此输入"
                       value="{{if .update}}{{.PointModule.MinCount3Hold}}{{end}}">
            </div>
        </div>*/}}
            <div class="form-group col-md-12">
                <label class="col-md-1 control-label">奖项3每天最大出现次数：</label>
                <div class="col-md-1">
                    <input id="form_MaxCount3" name="MaxCount3" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.MaxCount3}}{{end}}">
                </div>
                <div class="col-md-1"></div>
                <label class="col-md-1 control-label">概率3：</label>
                <div class="col-md-1">
                    <input id="form_Probability3" name="Probability3" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.Probability3}}{{end}}">
                </div>
                <div class="col-md-1"></div>
                <label class="col-md-1 control-label">扇区颜色3：</label>
                <div class="col-md-1">
                    <input id="form_Color3" name="Color3" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.Color3}}{{end}}">
                </div>
            </div>

            <div class="form-group col-md-12">
                <div class="col-md-3">
                    <label class="control-label">图片3：</label>
                    <input id="form_PointPic3" type="hidden" name="PointPic3"
                           value="{{if .update}}{{.PointModule.PointPic3}}{{end}}" required="" aria-required="true">
                    <button id="file_upload_PointPic3" name="file_upload_PointPic3" type="file"
                            multiple="true"></button>
                </div>
                <div class="col-md-9">
                    <img id="form_pic_PointPic3"
                         src="{{if .update}}{{.PointModule.PointPic3}}{{else}}/img/image.png{{end}}"
                         style="max-height: 380px;width: auto;">
                </div>
            </div>
        </div>
    {{/*        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">概率3：</label>
            <div class="col-md-9">
                <input id="form_Probability3" name="Probability3" class="form-control" placeholder="请在此输入"
                       value="{{if .update}}{{.PointModule.Probability3}}{{end}}">
            </div>
        </div>
        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">扇区颜色3：</label>
            <div class="col-md-9">
                <input id="form_Color3" name="Color3" class="form-control" placeholder="请在此输入"
                       value="{{if .update}}{{.PointModule.Color3}}{{end}}">
            </div>
        </div>*/}}
        <div class="form-group col-md-12">
            <div class="form-group col-md-12">
                <label class="col-md-1 control-label">金额/积分4：</label>
                <div class="col-md-1">
                    <input id="form_Point4" name="Point4" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.Point4}}{{end}}">
                </div>
                <div class="col-md-1">
                    <select class="form-control m-b" name="Point4Type">
                        <option {{if .update}}{{if eq 0 .PointModule.Point4Type}}selected="selected"{{end}}{{end}}
                                value="0">积分
                        </option>
                        <option {{if .update}}{{if eq 1 .PointModule.Point4Type}}selected="selected"{{end}}{{end}}
                                value="1">现金红包
                        </option>
                    </select>
                </div>
                <label class="col-md-1 control-label">概率4：</label>
                <div class="col-md-1">
                    <input id="form_Probability4" name="Probability4" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.Probability4}}{{end}}">
                </div>
                <div class="col-md-1"></div>
                <label class="col-md-1 control-label">扇区颜色4：</label>
                <div class="col-md-1">
                    <input id="form_Color4" name="Color4" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.Color4}}{{end}}">
                </div>
            </div>
        {{/*        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">类型：</label>
            <div class="col-md-9">
                <select class="form-control m-b" name="Point4Type">
                    <option {{if .update}}{{if eq 0 .PointModule.Point4Type}}selected="selected"{{end}}{{end}}
                            value="0">积分
                    </option>
                    <option {{if .update}}{{if eq 1 .PointModule.Point4Type}}selected="selected"{{end}}{{end}}
                            value="1">现金红包
                    </option>
                </select>
            </div>
        </div>*/}}
            <div class="form-group col-md-12">
                <div class="col-md-3">
                    <label class="control-label">图片4：</label>
                    <input id="form_PointPic4" type="hidden" name="PointPic4"
                           value="{{if .update}}{{.PointModule.PointPic4}}{{end}}" required="" aria-required="true">
                    <button id="file_upload_PointPic4" name="file_upload_PointPic4" type="file"
                            multiple="true"></button>
                </div>
                <div class="col-md-9">
                    <img id="form_pic_PointPic4"
                         src="{{if .update}}{{.PointModule.PointPic4}}{{else}}/img/image.png{{end}}"
                         style="max-height: 380px;width: auto;">
                </div>
            </div>
        </div>
    {{/*        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">概率4：</label>
            <div class="col-md-9">
                <input id="form_Probability4" name="Probability4" class="form-control" placeholder="请在此输入"
                       value="{{if .update}}{{.PointModule.Probability4}}{{end}}">
            </div>
        </div>
        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">扇区颜色4：</label>
            <div class="col-md-9">
                <input id="form_Color4" name="Color4" class="form-control" placeholder="请在此输入"
                       value="{{if .update}}{{.PointModule.Color4}}{{end}}">
            </div>
        </div>*/}}
        <div class="form-group col-md-12" style="background: #eee;padding-top: 15px">
            <div class="form-group col-md-12">
                <label class="col-md-1 control-label">金额/积分5：</label>
                <div class="col-md-1">
                    <input id="form_Point5" name="Point5" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.Point5}}{{end}}">
                </div>
                <div class="col-md-1">
                    <select class="form-control m-b" name="Point5Type">
                        <option {{if .update}}{{if eq 0 .PointModule.Point5Type}}selected="selected"{{end}}{{end}}
                                value="0">积分
                        </option>
                        <option {{if .update}}{{if eq 1 .PointModule.Point5Type}}selected="selected"{{end}}{{end}}
                                value="1">现金红包
                        </option>
                    </select>
                </div>
                <label class="col-md-1 control-label">概率5：</label>
                <div class="col-md-1">
                    <input id="form_Probability5" name="Probability5" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.Probability5}}{{end}}">
                </div>
                <div class="col-md-1"></div>
                <label class="col-md-1 control-label">扇区颜色5：</label>
                <div class="col-md-1">
                    <input id="form_Color5" name="Color5" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.Color5}}{{end}}">
                </div>
            </div>
        {{/*        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">类型：</label>
            <div class="col-md-9">
                <select class="form-control m-b" name="Point5Type">
                    <option {{if .update}}{{if eq 0 .PointModule.Point5Type}}selected="selected"{{end}}{{end}}
                            value="0">积分
                    </option>
                    <option {{if .update}}{{if eq 1 .PointModule.Point5Type}}selected="selected"{{end}}{{end}}
                            value="1">现金红包
                    </option>
                </select>
            </div>
        </div>*/}}
            <div class="form-group col-md-12">
                <div class="col-md-3">
                    <label class="control-label">图片5：</label>
                    <input id="form_PointPic5" type="hidden" name="PointPic5"
                           value="{{if .update}}{{.PointModule.PointPic5}}{{end}}" required="" aria-required="true">
                    <button id="file_upload_PointPic5" name="file_upload_PointPic5" type="file"
                            multiple="true"></button>
                </div>
                <div class="col-md-9">
                    <img id="form_pic_PointPic5"
                         src="{{if .update}}{{.PointModule.PointPic5}}{{else}}/img/image.png{{end}}"
                         style="max-height: 380px;width: auto;">
                </div>
            </div>
        </div>
    {{/*        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">概率5：</label>
            <div class="col-md-9">
                <input id="form_Probability5" name="Probability5" class="form-control" placeholder="请在此输入"
                       value="{{if .update}}{{.PointModule.Probability5}}{{end}}">
            </div>
        </div>
        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">扇区颜色5：</label>
            <div class="col-md-9">
                <input id="form_Color5" name="Color5" class="form-control" placeholder="请在此输入"
                       value="{{if .update}}{{.PointModule.Color5}}{{end}}">
            </div>
        </div>*/}}
        <div class="form-group col-md-12">
            <div class="form-group col-md-12">
                <label class="col-md-1 control-label">金额/积分6：</label>
                <div class="col-md-1">
                    <input id="form_Point6" name="Point6" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.Point6}}{{end}}">
                </div>
                <div class="col-md-1">
                    <select class="form-control m-b" name="Point6Type">
                        <option {{if .update}}{{if eq 0 .PointModule.Point6Type}}selected="selected"{{end}}{{end}}
                                value="0">积分
                        </option>
                        <option {{if .update}}{{if eq 1 .PointModule.Point6Type}}selected="selected"{{end}}{{end}}
                                value="1">现金红包
                        </option>
                    </select>
                </div>
                <label class="col-md-1 control-label">概率6：</label>
                <div class="col-md-1">
                    <input id="form_Probability6" name="Probability6" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.Probability6}}{{end}}">
                </div>
                <div class="col-md-1"></div>
                <label class="col-md-1 control-label">扇区颜色6：</label>
                <div class="col-md-1">
                    <input id="form_Color6" name="Color6" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.Color6}}{{end}}">
                </div>
            </div>
        {{/*        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">类型：</label>
            <div class="col-md-9">
                <select class="form-control m-b" name="Point6Type">
                    <option {{if .update}}{{if eq 0 .PointModule.Point6Type}}selected="selected"{{end}}{{end}}
                            value="0">积分
                    </option>
                    <option {{if .update}}{{if eq 1 .PointModule.Point6Type}}selected="selected"{{end}}{{end}}
                            value="1">现金红包
                    </option>
                </select>
            </div>
        </div>*/}}
            <div class="form-group col-md-12">
                <div class="col-md-3">
                    <label class="control-label">图片6：</label>
                    <input id="form_PointPic6" type="hidden" name="PointPic6"
                           value="{{if .update}}{{.PointModule.PointPic6}}{{end}}" required="" aria-required="true">
                    <button id="file_upload_PointPic6" name="file_upload_PointPic6" type="file"
                            multiple="true"></button>
                </div>
                <div class="col-md-9">
                    <img id="form_pic_PointPic6"
                         src="{{if .update}}{{.PointModule.PointPic6}}{{else}}/img/image.png{{end}}"
                         style="max-height: 380px;width: auto;">
                </div>
            </div>
        </div>
    {{/*        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">概率6：</label>
            <div class="col-md-9">
                <input id="form_Probability6" name="Probability6" class="form-control" placeholder="请在此输入"
                       value="{{if .update}}{{.PointModule.Probability6}}{{end}}">
            </div>
        </div>
        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">扇区颜色6：</label>
            <div class="col-md-9">
                <input id="form_Color6" name="Color6" class="form-control" placeholder="请在此输入"
                       value="{{if .update}}{{.PointModule.Color6}}{{end}}">
            </div>
        </div>*/}}



        <div class="form-group col-md-12" style="background: #eee;padding-top: 15px">
            <div class="form-group col-md-12">
                <label class="col-md-1 control-label">金额/积分7：</label>
                <div class="col-md-1">
                    <input id="form_Point7" name="Point7" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.Point7}}{{end}}">
                </div>
                <div class="col-md-1">
                    <select class="form-control m-b" name="Point7Type">
                        <option {{if .update}}{{if eq 0 .PointModule.Point7Type}}selected="selected"{{end}}{{end}}
                                value="0">积分
                        </option>
                        <option {{if .update}}{{if eq 1 .PointModule.Point7Type}}selected="selected"{{end}}{{end}}
                                value="1">现金红包
                        </option>
                    </select>
                </div>
                <label class="col-md-1 control-label">概率7：</label>
                <div class="col-md-1">
                    <input id="form_Probability7" name="Probability7" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.Probability7}}{{end}}">
                </div>
                <div class="col-md-1"></div>
                <label class="col-md-1 control-label">扇区颜色7：</label>
                <div class="col-md-1">
                    <input id="form_Color7" name="Color7" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.Color7}}{{end}}">
                </div>
            </div>
        {{/*        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">类型：</label>
            <div class="col-md-9">
                <select class="form-control m-b" name="Point7Type">
                    <option {{if .update}}{{if eq 0 .PointModule.Point7Type}}selected="selected"{{end}}{{end}}
                            value="0">积分
                    </option>
                    <option {{if .update}}{{if eq 1 .PointModule.Point7Type}}selected="selected"{{end}}{{end}}
                            value="1">现金红包
                    </option>
                </select>
            </div>
        </div>*/}}
            <div class="form-group col-md-12">
                <div class="col-md-3">
                    <label class="control-label">图片7：</label>
                    <input id="form_PointPic7" type="hidden" name="PointPic7"
                           value="{{if .update}}{{.PointModule.PointPic7}}{{end}}" required="" aria-required="true">
                    <button id="file_upload_PointPic7" name="file_upload_PointPic7" type="file"
                            multiple="true"></button>
                </div>
                <div class="col-md-9">
                    <img id="form_pic_PointPic7"
                         src="{{if .update}}{{.PointModule.PointPic7}}{{else}}/img/image.png{{end}}"
                         style="max-height: 380px;width: auto;">
                </div>
            </div>
        </div>
    {{/*        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">概率7：</label>
            <div class="col-md-9">
                <input id="form_Probability7" name="Probability7" class="form-control" placeholder="请在此输入"
                       value="{{if .update}}{{.PointModule.Probability7}}{{end}}">
            </div>
        </div>
        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">扇区颜色7：</label>
            <div class="col-md-9">
                <input id="form_Color7" name="Color7" class="form-control" placeholder="请在此输入"
                       value="{{if .update}}{{.PointModule.Color7}}{{end}}">
            </div>
        </div>*/}}


        <div class="form-group col-md-12">
            <div class="form-group col-md-12">
                <label class="col-md-1 control-label">金额/积分8：</label>
                <div class="col-md-1">
                    <input id="form_Point8" name="Point8" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.Point8}}{{end}}">
                </div>
                <div class="col-md-1">
                    <select class="form-control m-b" name="Point8Type">
                        <option {{if .update}}{{if eq 0 .PointModule.Point8Type}}selected="selected"{{end}}{{end}}
                                value="0">积分
                        </option>
                        <option {{if .update}}{{if eq 1 .PointModule.Point8Type}}selected="selected"{{end}}{{end}}
                                value="1">现金红包
                        </option>
                    </select>
                </div>
                <label class="col-md-1 control-label">概率8：</label>
                <div class="col-md-1">
                    <input id="form_Probability8" name="Probability8" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.Probability8}}{{end}}">
                </div>
                <div class="col-md-1"></div>
                <label class="col-md-1 control-label">扇区颜色8：</label>
                <div class="col-md-1">
                    <input id="form_Color8" name="Color8" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.Color8}}{{end}}">
                </div>
            </div>
        {{/*        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">类型：</label>
            <div class="col-md-9">
                <select class="form-control m-b" name="Point8Type">
                    <option {{if .update}}{{if eq 0 .PointModule.Point8Type}}selected="selected"{{end}}{{end}}
                            value="0">积分
                    </option>
                    <option {{if .update}}{{if eq 1 .PointModule.Point8Type}}selected="selected"{{end}}{{end}}
                            value="1">现金红包
                    </option>
                </select>
            </div>
        </div>*/}}
            <div class="form-group col-md-12">
                <div class="col-md-3">
                    <label class="control-label">图片8：</label>
                    <input id="form_PointPic8" type="hidden" name="PointPic8"
                           value="{{if .update}}{{.PointModule.PointPic8}}{{end}}" required="" aria-required="true">
                    <button id="file_upload_PointPic8" name="file_upload_PointPic8" type="file"
                            multiple="true"></button>
                </div>
                <div class="col-md-9">
                    <img id="form_pic_PointPic8"
                         src="{{if .update}}{{.PointModule.PointPic8}}{{else}}/img/image.png{{end}}"
                         style="max-height: 380px;width: auto;">
                </div>
            </div>
        </div>
    {{/*        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">概率8：</label>
            <div class="col-md-9">
                <input id="form_Probability8" name="Probability8" class="form-control" placeholder="请在此输入"
                       value="{{if .update}}{{.PointModule.Probability8}}{{end}}">
            </div>
        </div>
        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">扇区颜色8：</label>
            <div class="col-md-9">
                <input id="form_Color8" name="Color8" class="form-control" placeholder="请在此输入"
                       value="{{if .update}}{{.PointModule.Color8}}{{end}}">
            </div>
        </div>*/}}



        <div class="form-group col-md-12" style="background: #eee;padding-top: 15px">
            <div class="form-group col-md-12">
                <label class="col-md-1 control-label">金额/积分9：</label>
                <div class="col-md-1">
                    <input id="form_Point9" name="Point9" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.Point9}}{{end}}">
                </div>
                <div class="col-md-1">
                    <select class="form-control m-b" name="Point9Type">
                        <option {{if .update}}{{if eq 0 .PointModule.Point9Type}}selected="selected"{{end}}{{end}}
                                value="0">积分
                        </option>
                        <option {{if .update}}{{if eq 1 .PointModule.Point9Type}}selected="selected"{{end}}{{end}}
                                value="1">现金红包
                        </option>
                    </select>
                </div>
                <label class="col-md-1 control-label">概率9：</label>
                <div class="col-md-1">
                    <input id="form_Probability9" name="Probability9" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.Probability9}}{{end}}">
                </div>
                <div class="col-md-1"></div>
                <label class="col-md-1 control-label">扇区颜色9：</label>
                <div class="col-md-1">
                    <input id="form_Color9" name="Color9" class="form-control" placeholder="请在此输入"
                           value="{{if .update}}{{.PointModule.Color9}}{{end}}">
                </div>
            </div>
        {{/*        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">类型：</label>
            <div class="col-md-9">
                <select class="form-control m-b" name="Point9Type">
                    <option {{if .update}}{{if eq 0 .PointModule.Point9Type}}selected="selected"{{end}}{{end}}
                            value="0">积分
                    </option>
                    <option {{if .update}}{{if eq 1 .PointModule.Point9Type}}selected="selected"{{end}}{{end}}
                            value="1">现金红包
                    </option>
                </select>
            </div>
        </div>*/}}
            <div class="form-group col-md-12">
                <div class="col-md-3">
                    <label class="control-label">图片9：</label>
                    <input id="form_PointPic9" type="hidden" name="PointPic9"
                           value="{{if .update}}{{.PointModule.PointPic9}}{{end}}" required="" aria-required="true">
                    <button id="file_upload_PointPic9" name="file_upload_PointPic9" type="file"
                            multiple="true"></button>
                </div>
                <div class="col-md-9">
                    <img id="form_pic_PointPic9"
                         src="{{if .update}}{{.PointModule.PointPic9}}{{else}}/img/image.png{{end}}"
                         style="max-height: 380px;width: auto;">
                </div>
            </div>
        </div>
    {{/*        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">概率9：</label>
            <div class="col-md-9">
                <input id="form_Probability9" name="Probability9" class="form-control" placeholder="请在此输入"
                       value="{{if .update}}{{.PointModule.Probability9}}{{end}}">
            </div>
        </div>
        <div class="form-group col-md-12">
            <label class="col-md-3 control-label">扇区颜色9：</label>
            <div class="col-md-9">
                <input id="form_Color9" name="Color9" class="form-control" placeholder="请在此输入"
                       value="{{if .update}}{{.PointModule.Color9}}{{end}}">
            </div>
        </div>*/}}



        <input type="hidden" value="{{if .update}}{{.PointModule.Point10}}{{end}}" name="Point10">
        <input type="hidden" value="{{if .update}}{{.PointModule.Point10Type}}{{end}}" name="Point10Type">
        <input type="hidden" value="{{if .update}}{{.PointModule.PointPic10}}{{end}}" name="PointPic10">
        <input type="hidden" value="{{if .update}}{{.PointModule.Probability10}}{{end}}" name="Probability10">
        <input type="hidden" value="{{if .update}}{{.PointModule.Color10}}{{end}}" name="Color10">
        <input type="hidden" value="{{if .update}}{{.PointModule.Point11}}{{end}}" name="Point11">
        <input type="hidden" value="{{if .update}}{{.PointModule.Point11Type}}{{end}}" name="Point11Type">
        <input type="hidden" value="{{if .update}}{{.PointModule.PointPic11}}{{end}}" name="PointPic11">
        <input type="hidden" value="{{if .update}}{{.PointModule.Probability11}}{{end}}" name="Probability11">
        <input type="hidden" value="{{if .update}}{{.PointModule.Color11}}{{end}}" name="Color11">
        <input type="hidden" value="{{if .update}}{{.PointModule.Point12}}{{end}}" name="Point12">
        <input type="hidden" value="{{if .update}}{{.PointModule.Point12Type}}{{end}}" name="Point12Type">
        <input type="hidden" value="{{if .update}}{{.PointModule.PointPic12}}{{end}}" name="PointPic12">
        <input type="hidden" value="{{if .update}}{{.PointModule.Probability12}}{{end}}" name="Probability12">
        <input type="hidden" value="{{if .update}}{{.PointModule.Color12}}{{end}}" name="Color12">
        <div class="form-group col-md-12">
            <div class="col-md-3">
                <label class="control-label">音频1：</label>
                <input id="form_Audio1" type="hidden" name="Audio1"
                       value="{{if .update}}{{.PointModule.Audio1}}{{end}}"
                       required="" aria-required="true">
                <button id="file_upload_Audio1" name="file_upload_Audio1" type="file" multiple="true"></button>
            </div>
            <div class="col-md-9">
            {{if .update}}
            {{if eq "" .PointModule.Audio1}}<img id="form_pic_Audio1_pic" src="/img/addmusic.png">
            {{else}}
                <audio id="form_pic_Audio1" src="{{.PointModule.Audio1}}"></audio>
            {{end}}
            {{else}}
                <img id="form_pic_Audio1_pic" src="/img/addmusic.png" style="height: 80px;width: auto">
                <audio id="form_pic_Audio1" src="" controls="controls"></audio>
            {{end}}
            </div>
        </div>
        <div class="form-group col-md-12">
            <div class="col-md-3">
                <label class="control-label">音频2：</label>
                <input id="form_Audio2" type="hidden" name="Audio2"
                       value="{{if .update}}{{.PointModule.Audio2}}{{end}}"
                       required="" aria-required="true">
                <button id="file_upload_Audio2" name="file_upload_Audio2" type="file" multiple="true"></button>
            </div>
            <div class="col-md-9">
            {{if .update}}
            {{if eq "" .PointModule.Audio2}}<img id="form_pic_Audio2_pic" src="/img/addmusic.png">
            {{else}}
                <audio id="form_pic_Audio2" src="{{.PointModule.Audio2}}"></audio>
            {{end}}
            {{else}}
                <img id="form_pic_Audio2_pic" src="/img/addmusic.png" style="height: 80px;width: auto">
                <audio id="form_pic_Audio2" src="" controls="controls"></audio>
            {{end}}
            </div>
        </div>
        <div class="form-group col-md-12">
            <div class="col-md-3">
                <label class="control-label">音频3：</label>
                <input id="form_Audio3" type="hidden" name="Audio3"
                       value="{{if .update}}{{.PointModule.Audio3}}{{end}}"
                       required="" aria-required="true">
                <button id="file_upload_Audio3" name="file_upload_Audio3" type="file" multiple="true"></button>
            </div>
            <div class="col-md-9">
            {{if .update}}
            {{if eq "" .PointModule.Audio3}}<img id="form_pic_Audio3_pic" src="/img/addmusic.png">
            {{else}}
                <audio id="form_pic_Audio3" src="{{.PointModule.Audio3}}"></audio>
            {{end}}
            {{else}}
                <img id="form_pic_Audio3_pic" src="/img/addmusic.png" style="height: 80px;width: auto">
                <audio id="form_pic_Audio3" src="" controls="controls"></audio>
            {{end}}
            </div>
        </div>

        <div class="form-group col-md-12">
            <div class="col-md-12 col-md-offset-3">
                <button class="btn btn-primary" type="submit">保存内容</button>
            {{if .update}}{{else}}
                <button class="btn btn-white" type="submit">取消</button>
            {{end}}
            </div>
        </div>
    </div>
</form>


<!-- 全局js -->
<script src="/js/jquery.min.js?v=2.1.4"></script>
<script src="/js/bootstrap.min.js?v=3.3.6"></script>
<script src="/js/jquery.uploadifive.js" type="text/javascript"></script>
<script type="text/javascript" charset="utf-8" src="/js/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="/js/ueditor.all.min.js"></script>
<script type="text/javascript" src="/lang/zh-cn/zh-cn.js"></script>
<script src="/js/plugins/validate/jquery.validate.min.js"></script>
<script src="/js/plugins/validate/messages_zh.min.js"></script>


<!-- jQuery UI -->
<script src="/js/jquery-ui-1.10.4.min.js"></script>
<!-- laydate js -->
<script src="/js/plugins/layer/laydate/laydate.js"></script>

<!--form validate-->
<script>
    $().ready(function () {
        // validate the comment form when it is submitted
        $("#FORM_validate").validate({
            rules: {
                PointModuleName: {
                    required: true,
                    minlength: 2
                },
                Point1: {
                    required: true,
                    numbers: true
                },
                MinCount1: {
                    required: true,
                    digits: true
                },
                MinCount1Hold: {
                    required: true,
                    digits: true
                },
                MaxCount1: {
                    required: true,
                    digits: true
                },
                Probability1: {
                    required: true,
                    numbers: true
                },
                Color1: {
                    required: true,
                    minlength: 2
                },
                Point2: {
                    required: true,
                    numbers: true
                },
                MinCount2: {
                    required: true,
                    digits: true
                },
                MinCount2Hold: {
                    required: true,
                    digits: true
                },
                MaxCount2: {
                    required: true,
                    digits: true
                },
                Probability2: {
                    required: true,
                    numbers: true
                },
                Color2: {
                    required: true,
                    minlength: 2
                },
                Point3: {
                    required: true,
                    numbers: true
                },
                MinCount3: {
                    required: true,
                    digits: true
                },
                MinCount3Hold: {
                    required: true,
                    digits: true
                },
                MaxCount3: {
                    required: true,
                    digits: true
                },
                Probability3: {
                    required: true,
                    numbers: true
                },
                Color3: {
                    required: true,
                    minlength: 2
                },
                Point4: {
                    required: true,
                    numbers: true
                },
                Probability4: {
                    required: true,
                    numbers: true
                },
                Color4: {
                    required: true,
                    minlength: 2
                },
                Point5: {
                    required: true,
                    numbers: true
                },
                Probability5: {
                    required: true,
                    numbers: true
                },
                Color5: {
                    required: true,
                    minlength: 2
                },
                Point6: {
                    required: true,
                    numbers: true
                },
                Probability6: {
                    required: true,
                    numbers: true
                },
                Color6: {
                    required: true,
                    minlength: 2
                },
                Point7: {
                    required: true,
                    numbers: true
                },
                Probability7: {
                    required: true,
                    numbers: true
                },
                Color7: {
                    required: true,
                    minlength: 2
                },
                Point8: {
                    required: true,
                    numbers: true
                },
                Probability8: {
                    required: true,
                    numbers: true
                },
                Color8: {
                    required: true,
                    minlength: 2
                },
                Point9: {
                    required: true,
                    numbers: true
                },
                Probability9: {
                    required: true,
                    numbers: true
                },
                Color9: {
                    required: true,
                    minlength: 2
                },
            }
        });
    });
</script>


<!--pic upload-->
<script type="text/javascript">
    $(function () {
        $('#file_upload_PointPic1').uploadifive({
            'formData': {
                'Id': $("#form_Id").attr("value"),
                'imagepath': $("#form_PointPic1").attr("value")
            },
            'uploadScript': '/pointmodule/picUp',
            'fileTypeExts': '*.jpg; *.jpeg; *.png',
            'removeCompleted': true,
            'fileSizeLimit': "10MB",
            'buttonClass': "btn-info",
            'multi': false,
            'onUploadComplete': function (file, data) {
                var url_new = $.parseJSON(data).Data;
                $("#form_pic_PointPic1").attr("src", url_new);
                $("#form_PointPic1").attr("value", url_new.substring(0, url_new.indexOf("?time")));
            },
            'onUploadError': function (file, errorCode, errorMsg, errorString) {
                alert('The file ' + file.name + ' could not be uploaded: ' + errorString);
            }
        });
    });
</script>


<!--pic upload-->
<script type="text/javascript">
    $(function () {
        $('#file_upload_PointPic2').uploadifive({
            'formData': {
                'Id': $("#form_Id").attr("value"),
                'imagepath': $("#form_PointPic2").attr("value")
            },
            'uploadScript': '/pointmodule/picUp',
            'fileTypeExts': '*.jpg; *.jpeg; *.png',
            'removeCompleted': true,
            'fileSizeLimit': "10MB",
            'buttonClass': "btn-info",
            'multi': false,
            'onUploadComplete': function (file, data) {
                var url_new = $.parseJSON(data).Data;
                $("#form_pic_PointPic2").attr("src", url_new);
                $("#form_PointPic2").attr("value", url_new.substring(0, url_new.indexOf("?time")));
            },
            'onUploadError': function (file, errorCode, errorMsg, errorString) {
                alert('The file ' + file.name + ' could not be uploaded: ' + errorString);
            }
        });
    });
</script>


<!--pic upload-->
<script type="text/javascript">
    $(function () {
        $('#file_upload_PointPic3').uploadifive({
            'formData': {
                'Id': $("#form_Id").attr("value"),
                'imagepath': $("#form_PointPic3").attr("value")
            },
            'uploadScript': '/pointmodule/picUp',
            'fileTypeExts': '*.jpg; *.jpeg; *.png',
            'removeCompleted': true,
            'fileSizeLimit': "10MB",
            'buttonClass': "btn-info",
            'multi': false,
            'onUploadComplete': function (file, data) {
                var url_new = $.parseJSON(data).Data;
                $("#form_pic_PointPic3").attr("src", url_new);
                $("#form_PointPic3").attr("value", url_new.substring(0, url_new.indexOf("?time")));
            },
            'onUploadError': function (file, errorCode, errorMsg, errorString) {
                alert('The file ' + file.name + ' could not be uploaded: ' + errorString);
            }
        });
    });
</script>


<!--pic upload-->
<script type="text/javascript">
    $(function () {
        $('#file_upload_PointPic4').uploadifive({
            'formData': {
                'Id': $("#form_Id").attr("value"),
                'imagepath': $("#form_PointPic4").attr("value")
            },
            'uploadScript': '/pointmodule/picUp',
            'fileTypeExts': '*.jpg; *.jpeg; *.png',
            'removeCompleted': true,
            'fileSizeLimit': "10MB",
            'buttonClass': "btn-info",
            'multi': false,
            'onUploadComplete': function (file, data) {
                var url_new = $.parseJSON(data).Data;
                $("#form_pic_PointPic4").attr("src", url_new);
                $("#form_PointPic4").attr("value", url_new.substring(0, url_new.indexOf("?time")));
            },
            'onUploadError': function (file, errorCode, errorMsg, errorString) {
                alert('The file ' + file.name + ' could not be uploaded: ' + errorString);
            }
        });
    });
</script>


<!--pic upload-->
<script type="text/javascript">
    $(function () {
        $('#file_upload_PointPic5').uploadifive({
            'formData': {
                'Id': $("#form_Id").attr("value"),
                'imagepath': $("#form_PointPic5").attr("value")
            },
            'uploadScript': '/pointmodule/picUp',
            'fileTypeExts': '*.jpg; *.jpeg; *.png',
            'removeCompleted': true,
            'fileSizeLimit': "10MB",
            'buttonClass': "btn-info",
            'multi': false,
            'onUploadComplete': function (file, data) {
                var url_new = $.parseJSON(data).Data;
                $("#form_pic_PointPic5").attr("src", url_new);
                $("#form_PointPic5").attr("value", url_new.substring(0, url_new.indexOf("?time")));
            },
            'onUploadError': function (file, errorCode, errorMsg, errorString) {
                alert('The file ' + file.name + ' could not be uploaded: ' + errorString);
            }
        });
    });
</script>


<!--pic upload-->
<script type="text/javascript">
    $(function () {
        $('#file_upload_PointPic6').uploadifive({
            'formData': {
                'Id': $("#form_Id").attr("value"),
                'imagepath': $("#form_PointPic6").attr("value")
            },
            'uploadScript': '/pointmodule/picUp',
            'fileTypeExts': '*.jpg; *.jpeg; *.png',
            'removeCompleted': true,
            'fileSizeLimit': "10MB",
            'buttonClass': "btn-info",
            'multi': false,
            'onUploadComplete': function (file, data) {
                var url_new = $.parseJSON(data).Data;
                $("#form_pic_PointPic6").attr("src", url_new);
                $("#form_PointPic6").attr("value", url_new.substring(0, url_new.indexOf("?time")));
            },
            'onUploadError': function (file, errorCode, errorMsg, errorString) {
                alert('The file ' + file.name + ' could not be uploaded: ' + errorString);
            }
        });
    });
</script>


<!--pic upload-->
<script type="text/javascript">
    $(function () {
        $('#file_upload_PointPic7').uploadifive({
            'formData': {
                'Id': $("#form_Id").attr("value"),
                'imagepath': $("#form_PointPic7").attr("value")
            },
            'uploadScript': '/pointmodule/picUp',
            'fileTypeExts': '*.jpg; *.jpeg; *.png',
            'removeCompleted': true,
            'fileSizeLimit': "10MB",
            'buttonClass': "btn-info",
            'multi': false,
            'onUploadComplete': function (file, data) {
                var url_new = $.parseJSON(data).Data;
                $("#form_pic_PointPic7").attr("src", url_new);
                $("#form_PointPic7").attr("value", url_new.substring(0, url_new.indexOf("?time")));
            },
            'onUploadError': function (file, errorCode, errorMsg, errorString) {
                alert('The file ' + file.name + ' could not be uploaded: ' + errorString);
            }
        });
    });
</script>


<!--pic upload-->
<script type="text/javascript">
    $(function () {
        $('#file_upload_PointPic8').uploadifive({
            'formData': {
                'Id': $("#form_Id").attr("value"),
                'imagepath': $("#form_PointPic8").attr("value")
            },
            'uploadScript': '/pointmodule/picUp',
            'fileTypeExts': '*.jpg; *.jpeg; *.png',
            'removeCompleted': true,
            'fileSizeLimit': "10MB",
            'buttonClass': "btn-info",
            'multi': false,
            'onUploadComplete': function (file, data) {
                var url_new = $.parseJSON(data).Data;
                $("#form_pic_PointPic8").attr("src", url_new);
                $("#form_PointPic8").attr("value", url_new.substring(0, url_new.indexOf("?time")));
            },
            'onUploadError': function (file, errorCode, errorMsg, errorString) {
                alert('The file ' + file.name + ' could not be uploaded: ' + errorString);
            }
        });
    });
</script>


<!--pic upload-->
<script type="text/javascript">
    $(function () {
        $('#file_upload_PointPic9').uploadifive({
            'formData': {
                'Id': $("#form_Id").attr("value"),
                'imagepath': $("#form_PointPic9").attr("value")
            },
            'uploadScript': '/pointmodule/picUp',
            'fileTypeExts': '*.jpg; *.jpeg; *.png',
            'removeCompleted': true,
            'fileSizeLimit': "10MB",
            'buttonClass': "btn-info",
            'multi': false,
            'onUploadComplete': function (file, data) {
                var url_new = $.parseJSON(data).Data;
                $("#form_pic_PointPic9").attr("src", url_new);
                $("#form_PointPic9").attr("value", url_new.substring(0, url_new.indexOf("?time")));
            },
            'onUploadError': function (file, errorCode, errorMsg, errorString) {
                alert('The file ' + file.name + ' could not be uploaded: ' + errorString);
            }
        });
    });
</script>


<!--pic upload-->
<script type="text/javascript">
    $(function () {
        $('#file_upload_Audio1').uploadifive({
            'formData': {
                'Id': $("#form_Id").attr("value"),
                'imagepath': $("#form_Audio1").attr("value")
            },
            'uploadScript': '/pointmodule/picUp',
            'fileTypeExts': '*.mp3;',
            'removeCompleted': true,
            'fileSizeLimit': "10MB",
            'buttonClass': "btn-info",
            'multi': false,
            'onUploadComplete': function (file, data) {
                var url_new = $.parseJSON(data).Data;
                $("#form_pic_Audio1").attr("src", url_new);
                $("#form_Audio1").attr("value", url_new.substring(0, url_new.indexOf("?time")));
            },
            'onUploadError': function (file, errorCode, errorMsg, errorString) {
                alert('The file ' + file.name + ' could not be uploaded: ' + errorString);
            }
        });
    });
</script>


<!--pic upload-->
<script type="text/javascript">
    $(function () {
        $('#file_upload_Audio2').uploadifive({
            'formData': {
                'Id': $("#form_Id").attr("value"),
                'imagepath': $("#form_Audio2").attr("value")
            },
            'uploadScript': '/pointmodule/picUp',
            'fileTypeExts': '*.mp3;',
            'removeCompleted': true,
            'fileSizeLimit': "10MB",
            'buttonClass': "btn-info",
            'multi': false,
            'onUploadComplete': function (file, data) {
                var url_new = $.parseJSON(data).Data;
                $("#form_pic_Audio2").attr("src", url_new);
                $("#form_Audio2").attr("value", url_new.substring(0, url_new.indexOf("?time")));
            },
            'onUploadError': function (file, errorCode, errorMsg, errorString) {
                alert('The file ' + file.name + ' could not be uploaded: ' + errorString);
            }
        });
    });
</script>


<!--pic upload-->
<script type="text/javascript">
    $(function () {
        $('#file_upload_Audio3').uploadifive({
            'formData': {
                'Id': $("#form_Id").attr("value"),
                'imagepath': $("#form_Audio3").attr("value")
            },
            'uploadScript': '/pointmodule/picUp',
            'fileTypeExts': '*.mp3;',
            'removeCompleted': true,
            'fileSizeLimit': "10MB",
            'buttonClass': "btn-info",
            'multi': false,
            'onUploadComplete': function (file, data) {
                var url_new = $.parseJSON(data).Data;
                $("#form_pic_Audio3_pic").hide();
                $("#form_pic_Audio3").attr("src", url_new);
                $("#form_Audio3").attr("value", url_new.substring(0, url_new.indexOf("?time")));
            },
            'onUploadError': function (file, errorCode, errorMsg, errorString) {
                alert('The file ' + file.name + ' could not be uploaded: ' + errorString);
            }
        });
    });
</script>


</body>
</html>